package com.sz.stock.model;

import java.math.BigDecimal;

public class Deal {
    private Integer stockDealId;

    private Integer stockDealUserid;

    private String stockDealCode;

    private String stockDealCompany;

    private String stockDealOperate;

    private BigDecimal stockDealMoney;

    private String stockDealCjtime;

    private String stockDealCjdeal;

    public Deal(Integer stockDealId, Integer stockDealUserid, String stockDealCode, String stockDealCompany, String stockDealOperate, BigDecimal stockDealMoney, String stockDealCjtime, String stockDealCjdeal) {
        this.stockDealId = stockDealId;
        this.stockDealUserid = stockDealUserid;
        this.stockDealCode = stockDealCode;
        this.stockDealCompany = stockDealCompany;
        this.stockDealOperate = stockDealOperate;
        this.stockDealMoney = stockDealMoney;
        this.stockDealCjtime = stockDealCjtime;
        this.stockDealCjdeal = stockDealCjdeal;
    }

    public Deal(Integer stockDealUserid, String stockDealCode, String stockDealCompany, String stockDealOperate, BigDecimal stockDealMoney, String stockDealCjtime, String stockDealCjdeal) {
        this.stockDealUserid = stockDealUserid;
        this.stockDealCode = stockDealCode;
        this.stockDealCompany = stockDealCompany;
        this.stockDealOperate = stockDealOperate;
        this.stockDealMoney = stockDealMoney;
        this.stockDealCjtime = stockDealCjtime;
        this.stockDealCjdeal = stockDealCjdeal;
    }

    public Deal() {
        super();
    }

    public Integer getStockDealId() {
        return stockDealId;
    }

    public void setStockDealId(Integer stockDealId) {
        this.stockDealId = stockDealId;
    }

    public Integer getStockDealUserid() {
        return stockDealUserid;
    }

    public void setStockDealUserid(Integer stockDealUserid) {
        this.stockDealUserid = stockDealUserid;
    }

    public String getStockDealCode() {
        return stockDealCode;
    }

    public void setStockDealCode(String stockDealCode) {
        this.stockDealCode = stockDealCode == null ? null : stockDealCode.trim();
    }

    public String getStockDealCompany() {
        return stockDealCompany;
    }

    public void setStockDealCompany(String stockDealCompany) {
        this.stockDealCompany = stockDealCompany == null ? null : stockDealCompany.trim();
    }

    public String getStockDealOperate() {
        return stockDealOperate;
    }

    public void setStockDealOperate(String stockDealOperate) {
        this.stockDealOperate = stockDealOperate == null ? null : stockDealOperate.trim();
    }

    public BigDecimal getStockDealMoney() {
        return stockDealMoney;
    }

    public void setStockDealMoney(BigDecimal stockDealMoney) {
        this.stockDealMoney = stockDealMoney;
    }

    public String getStockDealCjtime() {
        return stockDealCjtime;
    }

    public void setStockDealCjtime(String stockDealCjtime) {
        this.stockDealCjtime = stockDealCjtime == null ? null : stockDealCjtime.trim();
    }

    public String getStockDealCjdeal() {
        return stockDealCjdeal;
    }

    public void setStockDealCjdeal(String stockDealCjdeal) {
        this.stockDealCjdeal = stockDealCjdeal == null ? null : stockDealCjdeal.trim();
    }

    @Override
    public String toString() {
        return "Deal{" +
                "stockDealId=" + stockDealId +
                ", stockDealUserid=" + stockDealUserid +
                ", stockDealCode='" + stockDealCode + '\'' +
                ", stockDealCompany='" + stockDealCompany + '\'' +
                ", stockDealOperate='" + stockDealOperate + '\'' +
                ", stockDealMoney=" + stockDealMoney +
                ", stockDealCjtime='" + stockDealCjtime + '\'' +
                ", stockDealCjdeal='" + stockDealCjdeal + '\'' +
                '}';
    }
}